package com.csun.cmny.provider.model.dto.alarmlight;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-08-22 15:09
 * @Description: the class alarm light dto
 */
@Data
public class AlarmLightDto {

    /**
     * 报警灯Id
     */
    private Long id;

    /**
     * 设备编号
     */
    @NotNull(message = "{device.no.empty}")
    @NotEmpty(message = "{device.no.empty}")
    private String deviceNo;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 设备描述信息
     */
    private String remark;

    /**
     * 设备位置
     */
    @NotNull(message = "{alarm.light.location.null}")
    @NotEmpty(message = "{alarm.light.location.null}")
    private String location;

}
